import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { fresh } from './network/user'

fresh().then(result => {
  store.commit('setUserInfo', result)
  createApp(App).use(store).use(router).mount('#app')
})


